ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 13 - No. 19)

What is the result if a CASE statement has no matching case, and no default (or ELSE) clause?
The program ends.
The code inside the first case is executed.
The program continues execution after the CASE block.
An error message is displayed.

Forklaring

Without a default or ELSE clause, the program will continue execution after the CASE statement if no case matches.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc